<?php
/**
 * Created by PhpStorm.
 * User: Sunwu
 * Date: 2017/9/21
 * Time: 9:48
 */
$url="http://www.gzcjdx.cn/WeChat/Bus/index.php";
//http%3A%2F%2Fwww.gzcjdx.cn%2FWeChat%2FBus%2Findex.php
$targetUrl=urlencode($url);
echo $targetUrl;